<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<form action="#" method="post">
		First name:<input type="text" name="firstname" value="John">
		<br/>
		Last name:<input type="text" name="lastname" readonly>
		<br>

		First name:<input type="text" name="firstname" value="John" disabled>
		<br/>
		Last name:<input type="text" name="lastname" size="40">
		<br>

		 First name:<input type="text" name="firstname" maxlength="5">
		 <br>
		 <input type="text" name="fname" placeholder="First name">
	</form>
</body>
</html>